package com.nexus.all.model;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@TableName("nexus_comment_view")
public class CommentView {

    public static final LambdaQueryWrapper<CommentView> gw() {
        return new LambdaQueryWrapper<>();
    }


    /**
     * 笔记id/商家id
     */
    @TableField(value = "comment_data_id")
    private Long commentDataId;

    /**
     * 评论类型（1.笔记评论，2.商家评论）
     */
    @TableField(value = "comment_type")
    private Byte commentType;

    /**
     * 评论数量
     */
    @TableField(value = "comment_count")
    private Integer commentCount;


    /**
     * -------------------------------------------------
     * 上面字段由工具自动生成，请在下面添加扩充字段
     * -------------------------------------------------
     */


}